<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page contentType="text/html;charset=utf-8" pageEncoding="utf-8"
	language="java"%>
<%@ include file="/jsp/platform/include/include.jsp"%>
<html>
<head>
<TITLE><c:out value="${_LOGONUSER_.MANAGETITILE}" /></TITLE>
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge" />
	<%@ include file="/jsp/platform/include/header.jsp"%>

	<script type="text/javascript">
		$(document).ready(function(){
		   getData();
		});
		function getData() {
            
	            var url = '<%=request.getContextPath()%>/manage/mainPage/getData';
	            $.post(
	                    url,
	                    {
	                    },
	                    function(data) {
	                        if (data.success) {
	                               $("#merchantInfoToAudit").html(data.merchantInfoToAudit+"笔");
								   $("#terminalBandingToAudit").html(data.terminalBandingToAudit+"笔");
								   $("#terminalUnBandingToAudit").html(data.terminalUnBandingToAudit+"笔");
								   $("#adjustToAudit").html(data.adjustToAudit+"笔");
								   $("#singleSettleToAudit").html(data.singleSettleToAudit+"笔");
								   $("#batchSettleToAudit").html(data.batchSettleToAudit+"批");
								   $("#bankChangeToAudit").html(data.bankChangeToAudit+"笔");
								   $("#offlineToAudit").html(data.offlineToAudit+"笔");
								   //第2行
								   $("#gatheringCount").html(data.gatheringCount);
								   $("#gatheringAmt").html(data.gatheringAmt.toFixed(2));
								   $("#settleCount").html(data.settleCount);
								   $("#settleAmt").html(data.settleAmt.toFixed(2));
								   $("#backAccountAmt").html(data.backAccountAmt.toFixed(2));
								   $("#t0Amt").html(data.t0Amt.toFixed(2));
								   //第三行
								   debugger;
								   $("#accoutTotalAvlBal").html(data.accoutTotalAvlBal);
                                   $("#accoutTotalFrzBal").html(data.accoutTotalFrzBal);
                                   $("#shareProfitTotalAvlBal").html(data.shareProfitTotalAvlBal);
                                   $("#shareProfitTotalBal").html(data.shareProfitTotalBal);
                                   $("#yesterdayTotalShareProfit").html(data.yesterdayTotalShareProfit);
	                        } else {
	                            $.messager.alert("提示信息", data.msg);
	                        }
	                    });
        }
        
        function merchantInfoApproveTask(){
			window.location.href = '<%=request.getContextPath()%>/manage/merchantInfo/merchantInfoApproveTask?menuType=20&menuId=201020';
	    }
    </script>
</HEAD>
<BODY>
	<DIV class="all">
		<%@ include file="/jsp/platform/include/head.jsp"%>
		<%@ include file="/jsp/platform/include/menu.jsp"%>
		<DIV class="mains">
			<TABLE width="100%" border="0" cellspacing="0" cellpadding="0">
				<TBODY>
					<TR valign="top">
						<TD width="200"><SPAN id="ctl00_IsMenu">
								<DIV class="sub_nav">
									<DIV class="sub_nav_tit">首页</DIV>
									<DIV class="sub_nav_con">
										<UL>

											<LI>
												<DIV class="sub_navon">
													<a class="subNav" href="#">首页</a>
													<DIV></DIV>
												</DIV>
											</LI>
										</UL>
									</DIV>
								</DIV> </SPAN>
						</TD>
						<TD>
							<TABLE width="100%" border="0" cellspacing="0" cellpadding="0">
								<TBODY>
									<TR>
										<TD>
											<TABLE width="180" border="0" cellspacing="0" cellpadding="0">
												<TBODY>
													<TR>
														<TD width="7"><IMG width="7" height="36" alt=""
															src="<%=request.getContextPath()%>/images/pages_l.jpg">
														</TD>
														<TD align="center"
															background="<%=request.getContextPath()%>/images/pages_bg.jpg">
															<SPAN class="f_tit1">首页</SPAN></TD>
														<TD width="7"><IMG width="7" height="36" alt=""
															src="<%=request.getContextPath()%>/images/pages_r.jpg">
														</TD>
													</TR>
												</TBODY>
											</TABLE></TD>
									</TR>
								</TBODY>
								<TR>
									<TD>
										<div class="pages_con">
											<div class="pages_con_20">
												<TABLE class="table"
													style="font-size:12px;text-align: center">
													<CAPTION>业务审核</CAPTION>
													<THEAD style="color:#333">
														<TR style="text-align: center">
															<TH>商户申请待审核</TH>
															<TH>线下收单审核</TH>
															<TH>结算银行待复核</TH>
														</TR>
													</THEAD>
													<TBODY>
														<TR>
															<TD><a id="merchantInfoToAudit" href='<%=request.getContextPath()%>/manage/merchantInfo/merchantInfoApproveTask?approveStatus=0'></a>
															</TD>
															<TD><a id="offlineToAudit"  href='<%=request.getContextPath()%>/manage/merchantInfo/applyQRApproveTask?approveStatus=0'>0笔</a>
																														</TD>
															<TD><a id="bankChangeToAudit"  href='<%=request.getContextPath()%>/manage/todoTask/settleCardInfoApproveTask?approveStatus=0'>0笔</a>
															</TD>
														</TR>
													</TBODY>
												</TABLE>
												<TABLE class="table"
													style="font-size:12px;text-align: center">
													<CAPTION>交易汇总</CAPTION>
													<THEAD style="color:#333">
														<TR style="text-align: center">
															<TH>收款笔数</TH>
															<TH>收款金额(元)</TH>
															<TH>结算笔数</TH>
															<TH>结算金额(元)</TH>
															<TH>备付金账户余额(元)</TH>
															<TH>D+0总敞口(万元)</TH>
														</TR>
													</THEAD>
													<TBODY>
														<TR>
															<TD><a id="gatheringCount" href='<%=request.getContextPath()%>/manage/ordLog/todayOrderList'>0</a></TD>
															<TD><a id="gatheringAmt" href='<%=request.getContextPath()%>/manage/ordLog/todayOrderList'>0</a></TD>
															<TD><a id="settleCount" href='<%=request.getContextPath()%>/manage/ordLog/todayOrderList'>0</a></TD>
															<TD><a id="settleAmt" href='<%=request.getContextPath()%>/manage/ordLog/todayOrderList'>0</a></TD>
															<TD><a id="backAccountAmt" href='<%=request.getContextPath()%>/manage/ordLog/todayOrderList'>0</a></TD>
															<TD><a id="t0Amt" href='<%=request.getContextPath()%>/manage/ordLog/todayOrderList'>0</a></TD>
														</TR>
													</TBODY>
												</TABLE>
												<TABLE class="table"
													   style="font-size:12px;text-align: center">
													<CAPTION>截止昨日余额汇总</CAPTION>
													<THEAD style="color:#333">
													<TR style="text-align: center">
														<TH>账户总余额</TH>
														<TH>账户总冻结金额</TH>
														<TH>分享收益总可用余额</TH>
														<TH>分享收益总余额</TH>
														<TH>昨日总分润金额</TH>
													</TR>
													</THEAD>
													<TBODY>
													<TR>
														<TD><a id="accoutTotalAvlBal" href='#'>0</a>
														</TD>
														<TD><a id="accoutTotalFrzBal" href='#'>0</a>
														</TD>
														<TD><a id="shareProfitTotalBal" href='#'>0</a>
														</TD>
														<TD><a id="shareProfitTotalAvlBal" href='#'>0</a>
														</TD>
														<TD><a id="yesterdayTotalShareProfit" href='#'>0</a>
														</TD>
													</TR>
													</TBODY>
												</TABLE>
												<DIV class="clear">&nbsp;</DIV>
											</DIV>

										</div>
										</div> <!--当中内容块结束--></TD>
								</TR>
							</TABLE></TD>
					</TR>
				</TBODY>
			</TABLE>
		</DIV>
		<%@ include file="/jsp/platform/include/foot.jsp"%>
</BODY>
</HTML>
